package org.example.novel.utlis;


import com.github.pagehelper.PageHelper;
import org.example.novel.exception.ServiceException;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 分页工具类
 */
public class PageUtils {

    private static Integer pageNum;

    private static Integer pageSize;

    public static Integer getPageNum() {
        return pageNum;
    }

    public static void setPageNum(Integer pageNum) {
        PageUtils.pageNum = pageNum;
    }

    public static Integer getPageSize() {
        return pageSize;
    }

    public static void setPageSize(Integer pageSize) {
        PageUtils.pageSize = pageSize;
    }
}
